<?php
class Application_Form_Computer extends Application_Form_Product
{
	public function __construct($options = null)
    {
        parent::__construct($options);
		$this->setName('computer');
		
		
		
		
		$processor = new Zend_Form_Element_Text('processor');
		$processor->setLabel('Processor:')
		->setRequired(true)
		->setFilters(array('StringTrim','StripTags'))
		->setValidators(array('NotEmpty'));
		
		$ram = new Zend_Form_Element_Text('ram');
		$ram->setLabel('RAM:')
		->setRequired(true)
		->setFilters(array('StringTrim','StripTags'))
		->setValidators(array('NotEmpty'));
		
		$hdd = new Zend_Form_Element_Text('hdd');
		$hdd->setLabel('HDD:')
		->setRequired(true)
		->setFilters(array('StringTrim','StripTags'))
		->setValidators(array('NotEmpty'));
		
		$videocard = new Zend_Form_Element_Text('videocard');
		$videocard->setLabel('Video card:')
		->setRequired(true)
		->setFilters(array('StringTrim','StripTags'))
		->setValidators(array('NotEmpty'));
		
		$os = new Zend_Form_Element_Text('os');
		$os->setLabel('Operating system:')
		->setRequired(true)
		->setFilters(array('StringTrim','StripTags'))
		->setValidators(array('NotEmpty'));
		
		$elements = array( $processor,$ram, $ram, $hdd, $videocard, $os);
		$this->addElements($elements);


		
	}
}